package homework21.studyplan;

public class StudyPlan {
    public Week  day;

    public StudyPlan() {
    }

    public StudyPlan(Week day) {
        this.day = day;
    }

    public void doWhat(){

        switch (day){
            case Mon:
            case Thu:
            case Wed:
            case Tue:
            case Fir:
                System.out.println("努力工作写代码！");
                break;
            case Sat:
                System.out.println("陪女朋友看电影！");
                break;
            case Sun:
                System.out.println("和朋友打篮球！");
                break;
                default:
                    System.out.printf("地球上一周只有7天!");
        }
    }
}
